FROM python:3.10.10

ENV PYTHONUNBUFFERED 1

RUN mkdir /WeChatPushProject

WORKDIR /WeChatPushProject

RUN pip config set global.index-url https://mirrors.aliyun.com/pypi/simple/
RUN pip config set install.trusted-host mirrors.aliyun.com

RUN python -m pip install -U pip

CMD pip install -r requirements.txt && python run.py
